<?php
return array(
    'controllers' => array(
        'invokables' => array(
            'Client\Controller\Client' => 'Client\Controller\ClientController',
            'Client\Controller\Account' => 'Client\Controller\AccountController',
            'Client\Controller\Loan' => 'Client\Controller\LoanController'
        )
    ),
    // The following section is new and should be added to your file
    'router' => array(
        'routes' => array(
            'client' => array(
                'type' => 'Literal',
                'options' => array(
                    'route' => '/client',
                    'constraints' => array(
                        'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
                    ),
                    'defaults' => array(
                        '__NAMESPACE__' => 'Client\Controller',
                        'controller' => 'Client',
                        'action' => 'index',
                    )
                ),
                'may_terminate' => true,
                'child_routes' => array(
                    'default' => array(
                        'type' => 'Segment',
                        'options' => array(
                            'route' => '/[:controller[/:action][/id/:id][/:param][/:param1]]',
                            'constraints' => array(
                                'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
                                'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
                                'id' => '[a-zA-Z0-9_-]*',
                                'param' => '[a-zA-Z0-9]*',
                                'param1' => '[a-zA-Z0-9]*',
                            ),
                            'defaults' => array(),
                        ),
                    ),
                ),
            )
        )
    ),
    'view_manager' => array(
        'template_path_stack' => array(
            'client' => __DIR__ . '/../view',
        ),
    ),
);